//
//  JBWReviseNameViewController.m
//  JBWDSK
//
//  Created by 崔志伟 on 2018/7/30.
//  Copyright © 2018年 崔志伟. All rights reserved.
//

#import "JBWReviseNameViewController.h"

@interface JBWReviseNameViewController ()

@end

@implementation JBWReviseNameViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.mainNavView.backTitle = @"修改昵称";
    UITextField *nameTextField = [[UITextField alloc]initWithFrame:CGRectMake(15, 20, self.contenView.frame.size.width-30, 30)];
    nameTextField.textColor = [UIColor whiteColor];
    nameTextField.font = [UIFont systemFontOfSize:15];
    nameTextField.text = @"傲视苍穹";
    [self.contenView addSubview:nameTextField];
    UIView *lineView = [[UIView alloc]initWithFrame:CGRectMake(15, 50, self.contenView.frame.size.width-30, 1)];
    lineView.backgroundColor = [UIColor grayColor];
    [self.contenView addSubview:lineView];
    UIButton *saveBtn = [[UIButton alloc]initWithFrame:CGRectMake(15, 80, self.contenView.frame.size.width-30, 40)];
    saveBtn.backgroundColor = [UIColor orangeColor];
    [saveBtn setTitle:@"保存" forState:UIControlStateNormal];
    [saveBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    saveBtn.titleLabel.font = [UIFont systemFontOfSize:15];
    saveBtn.layer.cornerRadius = 5;
    saveBtn.layer.masksToBounds = YES;
    [self.contenView addSubview:saveBtn];
    
    
}




@end
